* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.body::before {
  content: '';
  width: 100%;
  height: 100%;

  background-color: #0f1111c2;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  /* قيمة عالية لضمان الظهور فوق جميع العناصر */
  pointer-events: none;
  /* للسماح بتفاعل المستخدم مع العناصر التي تحتها */
}

/* nav bar */
.navbar {
  background-color: #023047;
  border-radius: 0 0 9px 9px;
  height: 65px;
  


}


/* Cart Number Badge */
div#cart-number {
  background-color: #dc3545;
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -12px;
  right: -12px;
}
@media (min-width: 780px) {
  
  .grannav {
    padding-top: 0;
    margin-left: 60%;

  }


  .grannav a {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    margin: 5px 10px;
    font-size: 15px;
  }

  .grannav a:hover {
    color: #001219;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    transition: .5s;
    text-decoration: none;
  }

  .fa-navicon:before,
  .fa-reorder:before,
  .fa-bars:before,
  .fa-search:before {
    display: none;
  }

}

@media (max-width: 780px) {
  .grannav {
    display: none;

  }

  .col-custom .btn {
    width: 70px;
    height: 32px;
border-radius: 12px;
font-family: 'Times New Roman', Times, serif;

    font-size: 14px;
  }



  .grannav a {
    display: none;
  }

}


.navbar-light .navbar-brand {
  color: white;
  font-size: 25px;
  padding-top: 0;
  display: inline-flex;
  align-items: center;

}
.lastlogo {
  width: 40px;
  height: 40px;

}
.lastlogo  img {
  width: 100%;
  height: 100%;
}

.navbar-brand {
  color: white;
}


.navbar {
  display: flex;
  justify-content: space-between;
  /* توزيع العناصر بين اليسار واليمين */
  align-items: center;
  /* محاذاة العناصر عمودياً في المنتصف */
}

.navbar1 {
  background-color: #007bff;
  /* لون خلفية شريط التنقل */
}

.navbar-brand {
  position: absolute;
  /* يجعل العنصر يتحرك بحرية داخل الحاوية */
  left: 50%;
  /* تحريك العنصر إلى منتصف العنصر الأب */
  transform: translateX(-50%);
  /* تصحيح الموضع لجعل العنصر في المنتصف تماماً */
  font-size: 1.5rem;
  /* حجم الخط للشعار */
}

.nav-link {
  color: white;
}

.navbar-toggler {
  border: none;
  /* إزالة الحدود من الزر */
  margin-right: 20%;
}


.btn-outline {
  border-color: white;
  /* لون الحدود للزر */
  color: white;
  /* لون النص في الزر */
}

.btn-outline:hover {

  background-color: white;
  /* تغيير خلفية الزر عند التمرير فوقه */
  color: #007bff;
  /* تغيير لون النص عند التمرير فوق الزر */
}

button.btn {
  padding: 0 2px;
}



.navbar1 {
  background-color: #0e7490;


}

.row img {
  width: 45%;
  position: relative;
  margin: 0 45% 0;

}

.slach {
  color: white;
  font-size: 20px;
  margin: 0 5px;
}

/* prodakt */
.col-custom {
  flex: 0 0 calc(50% - 10px);
  /* لضمان أن العناصر تأخذ 50% من العرض بعد خصم الهوامش */
  max-width: calc(50% - 10px);
  /* لضمان أن العناصر تأخذ 50% من العرض بعد خصم الهوامش */
  position: relative;
  border-radius: 7px;
  border: 1.1px solid #dedbd2;
  background-color: #dedbd281;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;



}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

@media (min-width: 740px) {

  .navbar-expand-lg {
    height: 50px;
  }

  .navbar-light .navbar-brand {
    left: auto;
    margin-left: 80px;
  }

  .col-custom {
    flex: 0 0 calc(33.333% - 10px);
    /* لعرض العناصر في ثلاثة صفوف على الشاشات الكبيرة */
    max-width: calc(33.333% - 10px);
    /* لعرض العناصر في ثلاثة صفوف على الشاشات الكبيرة */
  }
}


/* produi element */
.prix {
  

  position: absolute;
  font-size: 1.2rem;
  /* حجم الخط للسعر على الهواتف */
  font-weight: bold;
  /* جعل الخط سميكًا */
  margin-bottom: 0;
  /* إضافة مساحة أسفل السعر */
  bottom: 12px;
  left: 12px;
  color: #0f0F0F;

}

.btn {
  position: absolute;


  font-size: 0.9rem;
  /* حجم الخط في الزر */
  padding: 0.5rem 1rem;
  /* مساحة داخلية حول النص */
  bottom: 12px;
  right: 3px;



}


.btn:hover {
  background-color: #0056b3;
  /* تغيير اللون عند التمرير فوق الزر */
}

.comend {
  color: #0f0F0F;
  font-size: 12px;
  text-decoration-line: underline;
  margin-right: 5px;
  margin-bottom: 12px;
  margin-left: 7px;
  inset-inline-start: auto;
  min-inline-size: max-content;
}

/* ضمان أن النصوص والعناصر لا تخرج عن العرض المحدد على الشاشات الصغيرة */
.text-content {
  word-wrap: break-word;
  /* كسر الكلمات الطويلة */
  margin-bottom: 0;
  font-size: 16px;
  color: #0f0F0F;

}

.text-content2 {
  word-wrap: break-word;
  /* كسر الكلمات الطويلة */
  margin-bottom: 5px;
  font-size: 12px;
  color: #3b4044;
  width: 90%;
  height: auto;

}

.prixandbtn {
  display: flex;
  /* لعرض العناصر أفقيًا */
  align-items: center;
  /* لضمان محاذاة العناصر عمودياً في الوسط */
  justify-content: center;
  margin: 0 10px 0;

  gap: 16px;

}

/* produi img  */
.row img {
  width: 100%;
  margin: 0 auto 0;
  border-radius: 7px;
  height: 170px;

  border: 1.1px solid #dedbd2;
}

/* CSS for the sidebar */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  border-radius: 0 20px 20px 0;
  top: 0;
  left: 0;
  background-color: #023047;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  z-index: 99999;
  overflow: hidden;
}

.logo {
  width: 100%;
  top: 0;
  font-size: xx-large;
  margin-bottom: 10px;
  margin-top: 0;
  height: auto;
  color: #023047;
  background-color: #fff;


}

.logotiel {
  width: 100%;
  top: 0;
  font-size: xx-large;
  height: auto;
  color: #023047;
  background-color: #fff;
  font-family: Arial, Helvetica, sans-serif;

}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 15px;
  color: #ffffff;
  display: block;
  transition: 0.3s;
  border: 1.1px solid #FFF;
  border-radius: 2px ;
  margin-bottom: 12px;
  text-decoration-line: none;
  margin-left: 10px;
  margin-right: 10px;


}

.slecter {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 15px;
  color: #fff;
  background-color: #023047;
  display: block;
  transition: 0.3s;
  border: 1.1px solid #FFF;
  width: 92%;

  border-radius: 2px ;
  margin-bottom: 12px;
  text-decoration-line: none;
  margin-left: 10px;
  margin-right: 10px;
}


.sidebar a:hover {
  color: #d3cfcf;
  text-decoration-line: none;

}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: -80%;
  font-size: 36px;
  padding: 0 100%;
  color: #023047;
  width: 100%;
  background-color: #fdfdfd;
  padding-bottom: 10px;


}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #111;
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color: #444;
}

.main {
  margin-left: 0;
  transition: margin-left .5s;
  padding: 16px;
}



/* prodact pag */




/* prodact pag */




/* btn border */
/* .btn:not(:disabled):not(.disabled) {
  border-radius: 10px 8px 10px 0;
 
} */

/* btn border */




/* card imgs */
.btn:not(:disabled):not(.disabled) {
  font-family: 'Times New Roman', Times, serif;

}
.card {
  width: 94%;
  height: 159px;
  margin: 10px auto;


}

.card img {
  width: 100%;
  height: 100%;
}

/* card imgs */
/* star icons  */
.star {
  position: static;
  width: 60%;
  margin-bottom: 15px;
  display: flex;
  gap: 2px;
  margin-bottom: 30px;
  font-size: small;
}


.checked {
  color: #0056b3;
}


/* star icons  */


/* pimg */
.pimg {
  width: 70px;
  height: 70px;
  margin: 5px 20px;
  border: 1.5px solid #001219;

}








/* fin web site */
.fin {
  bottom: 0;
  display: none;
  padding-top: 1px;
  width: 100%;
  height: 100px;
  background-color: #001219;
  margin-top: 20px;

}

.fin span {
  font-size: 9px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #FFF;
}

.fin h1 {
  font-size: 10px;
  color: #888888;
  margin-top: 30px;
}

.fin .prod {
  background-color: #001219;
  margin-top: 20px;
  margin-left: 20px;
}
.fin a{ 
  color: #5a9de9;
}


/* slied  */




.pimgdiv img {
  width: 50px;
  height: 50px;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 0px;

  margin-left: 0;
}









.promo {
  width: auto;
  display: flex;
  align-items: center;
  /* محاذاة العناصر عموديًا في المنتصف */
  border: 1px solid #b4bcc0;
  border-left: 0;
  border-right: 0;
  padding: 5px auto;
  justify-content: center;
}

.pimgdiv {
  flex: 1;
  /* جعل كل عنصر يأخذ نفس المساحة */
  max-width: 33.33%;
  /* تحديد أقصى عرض لكل عنصر بحيث يتم توزيعها بالتساوي */
  box-sizing: border-box;
  /* ضمان أن الحدود والحشو لا تؤثر على العرض */
  text-align: center;
  /* لتوسيط النصوص والصور داخل العناصر */
  background-color: #b6cce6;
  box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2), ;


  border: 1px solid #0056b3;
  border-radius: 25px;
  padding-top: 0;
  padding-bottom: 0;
  margin-left: 12px;
}

.pimgcontent {
  display: flex;
  align-items: center;
  /* محاذاة الصورة والنص عموديًا في المنتصف */
  justify-content: center;
  /* توسيط الصورة والنص أفقيًا */
}


@media (max-width: 375px) {
  .navbar-light .navbar-brand {
    font-size: 18px;
  }

  .promo .pimgdiv img {

    width: 32px;
    height: 32px;
  }


  .col-custom {
    flex: 0 0 calc(50% - 10px);
    /* لضمان أن العناصر تأخذ 50% من العرض بعد خصم الهوامش */
    max-width: calc(40% - 10px);
    /* لضمان أن العناصر تأخذ 50% من العرض بعد خصم الهوامش */
    position: relative;
    border-radius: 7px;
    border: 1.1px solid #dedbd2;
    background-color: #dedbd281;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;



  }

  .col-custom .fa {
    font-size: 10px;
  }

  .col-custom .comend {
    position: absolute;
    bottom: 5px;
    right: -3px;
    font-size: xx-small;
  }

  .star {
    position: static;
    width: 60%;
    margin-bottom: 15px;
    display: flex;

    margin-bottom: 30px;
    font-size: small;
  }

  .star .fa {
    font-size: xx-small;
  }

  .col-custom .prix {
    font-size: 12px;
  }

  .col-custom .text-content2 {
    font-size: 12px;

  }

  .col-custom .text-content {
    font-size: 14px;

  }

  .col-custom .btn {
    width: 50px;
    height: 20px;
    border-radius: 12px;
    font-family: 'Times New Roman', Times, serif;

    font-size: 10px;
  }

  .pimgdiv h1 {
    font-size: 8.5px;
  }
  .lastlogo {
    width: 30px;
    height: 30px;
  
  }

}

.logoimg {
  width: 100%;
  height: 100%;
}

#compte {
  bottom: 15px;
  right: 20px;
  position: absolute;
  color: white;
    font-size: 18px;
    background-color: #023047;
    
    padding: revert;
    border: 1.5px solid white;
}


/* card prodact in home page
/* تصميم الحاوية الرئيسية */

#cart-products {
  position: fixed;
  top: 12%;
 
  background-color: #fdfdfd;

  
 
  margin: 5px;
  width: 100%;
  overflow-y: auto;
  z-index: 1000;
  
}





/* تصميم عنوان سلة المشتريات */


/* تصميم قائمة المنتجات */
.cart-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* تصميم كل عنصر في القائمة */
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #e0e0e0;
 
  border-radius: 8px;
}

/* تصميم محتوى المنتج */
.cart-item-content {
  display: flex;
  align-items: center;
  width: 100%;
}

/* تصميم اسم المنتج */
.cart-item-title {
  font-weight: bold;
  margin-right: 10px;
  flex: 2;
  color: #555;
}

/* تصميم كمية المنتج */
.cart-item-quantity {
  margin-right: 10px;
  flex: 1;
  color: #777;
}

/* تصميم سعر المنتج */
.cart-item-price {
  font-weight: bold;
  flex: 1;
  color: #28a745;
}

/* تصميم زر الحذف */
.delete-button {
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.delete-button:hover {
  background-color: #c82333;
}


/* إضافة هذه الفئة إلى ملف CSS */
/*============== ضهور المنتجات بسلاسة و نعومة ================= */

/* إعدادات السلاسة والنعومة للمنتجات */
.product-card {
  transform: translateY(50px); /* تبدأ المنتجات من 50 بكسل أسفل موقعها الأصلي */
  opacity: 0; /* تبدأ المنتجات بشفافية 0 */
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out; /* التحول يكون خلال 0.6 ثانية */
}

.product-card.show {
  transform: translateY(0); /* تتحرك المنتجات إلى موقعها الأصلي */
  opacity: 1; /* تظهر المنتجات بالكامل */
}

